# -*- coding: utf-8 -*-
from openerp.osv import osv, fields


class res_company(osv.osv):
    _inherit = "res.company"

    def get_company_name(self, cr, uid, ids, context=None):
        # 在每个页面的title的后边拼接上公司的名字
        company = self.browse(cr, uid, ids, context=context)
        return company[0].name
    _columns = {
        'small_logo': fields.binary(u"小图标"),
    }
